package business.report.impl;

import business.report.LandscapingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import other.domain.LandPunishInfo;
import report.domain.Landscaping;
import report.domain.LandscapingCriteria;
import report.mapper.LandscapingMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/19.
 */
@Service(value = "landscapingService")
public class LandscapingServiceImpl implements LandscapingService{
    @Autowired
    LandscapingMapper landscapingMapper;

    @Override
    public List<Landscaping> getLandscaping() {

        LandscapingCriteria criteria = new LandscapingCriteria();
        criteria.createCriteria().getAllCriteria();
        return landscapingMapper.selectByExample(criteria);
    }
}
